import request from "../utils/request";
import qs from 'querystring'


//获取所有充电桩的审核数据
export const getAllCharge = (val?:any) =>{
   const data = qs.stringify(val)
    return request({
        url:`/gen/apply/charge?${data}`,
        method:'get'
    })
}

//修改充电桩状态
export const upDateAllCharge = (data:any) =>{
     return request({
         url:`/gen/apply/charge/`,
         method:'put',
         data
     })
 }
